package com.lichuang.dedao.curriculum.service.impl;

import com.lichuang.dedao.curriculum.entity.Teacher;
import com.lichuang.dedao.curriculum.mapper.TeacherMapper;
import com.lichuang.dedao.curriculum.service.ITeacherService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 老师 服务实现类
 * </p>
 *
 * @author xiaosong
 * @since 2019-07-25
 */
@Service
public class TeacherServiceImpl extends ServiceImpl<TeacherMapper, Teacher> implements ITeacherService {

    @Override
    public Teacher getTeacherById(Integer id) {
        return baseMapper.selectById(id);
    }
}
